<template>
  <el-button
    size="small"
    type="primary"
    icon="UploadFilled"
    @click="void(0)"
  >
    点击事件
  </el-button>

  <el-button size="small" type="primary" plain @click="void(0)">
    <el-icon :size="18">
      <UploadFilled />
    </el-icon>
    <span>点击事件</span>
  </el-button>

  <el-button
    size="small"
    type="primary"
    circle
  >
    <el-icon :size="18">
      <UploadFilled />
    </el-icon>
  </el-button>

  <el-icon
    :size="20"
    style="color: #5e7ce0; cursor: pointer"
    @click="void(0)"
  >
    <UploadFilled />
  </el-icon>
</template>

<style lang="less">
  * {
    margin: 0;
    padding: 0;
  }

  html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: none;
  }

  #app {
    width: 100%;
    height: 100%;
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
  }
</style>